package com.vincent.sciinfo.service;

import com.vincent.sciinfo.interceptor.FeignPassToken;
import com.vincent.sciinfo.pojo.LoginCount;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "service-loginCount", configuration = FeignPassToken.class)
public interface LoginCountService {

    @RequestMapping("/loginCount/showLoginCountData")
    List<LoginCount> showLoginCountData();

}
